<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>里程的添加和修改</title>
<link href="${css_ctx}/main_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx }/common/js/proving.js"></script>
</head>
<body class="content_bg1">
  
<!-- 标题-->	
<div class="content_tittle">
<c:if test="${!empty content_tittle}">
	${content_tittle}
	<c:remove var="content_tittle" scope="session"/>
</c:if>
</div>
<!-- 标题  end--> 

<form action="${ctx }/stime?cmd=input" method="post" name="form1">
<table width="820" border="0" cellspacing="0" cellpadding="0" class="content_input">
  <tr>
    <td height="30" align="center">里程名称:<input type="hidden" name="sid" value="${stime.sid }"/></td>
    <td height="30"><input type="text" name="sname" size="50" value="${stime.sname }"/>  <font color="red" >*</font></td>
  </tr>
  <tr>
    <td height="30" align="center">学习人员职名:</td>
    <td>
      <select name="wid">
		<c:forEach items="${wtypes}" var="wtype">
		 <option value="${wtype.wid }" <c:if test='${stime.wid eq wtype.wid}'>selected="selected"</c:if>>${wtype.wname }</option>
        </c:forEach>
      </select>
    </td>
  </tr>
  <tr>
    <td height="30" align="center">学习状态:</td>
    <td height="30">
     <c:if test="${!empty stime.sstate}">
      <input type="radio" name="sstate" value="1" <c:if test="${'1' eq stime.sstate}">checked="checked"</c:if>/><font color="red">未开始</font>&nbsp;&nbsp;&nbsp;
      <input type="radio" name="sstate" value="2" <c:if test="${'2' eq stime.sstate}">checked="checked"</c:if>/><font color="green">学习中</font>&nbsp;&nbsp;&nbsp;
      <input type="radio" name="sstate" value="3" <c:if test="${'3' eq stime.sstate}">checked="checked"</c:if>/>已结束&nbsp;&nbsp;&nbsp;
     </c:if>
     <c:if test="${empty stime.sstate}">
      <input type="radio" name="sstate" value="1" checked="checked"/><font color="red">未开始</font>&nbsp;&nbsp;&nbsp;
      <input type="radio" name="sstate" value="2"/><font color="green">学习中</font>&nbsp;&nbsp;&nbsp;
      <input type="radio" name="sstate" value="3"/>已结束&nbsp;&nbsp;&nbsp;
     </c:if>
    </td>
  </tr>
  <tr>
    <td height="30" align="center"></td>
    <td height="30" align="center">
    	<input type="submit" value="提交" onmousedown="return stimeinput(form1);" class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'" />
    	<input type="button" name="Submit" onclick="javascript:history.back(-1);" value="返回上一页" class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'" />
    </td>
  </tr>
</table>
</form>
<%@ include file="../../common/footer.jsp"%>
</body>
</html>
